<?php
return [
    'model_namespace'=>"app\model\api",
    'controller_name'=>'app\controller\api',
    'model'=>"api\\",
    'controller'=>'api\\',
    //解决视图找不到主键问题，if_pk=false pk=你的主键
    'if_pk'=>true,
    'pk'=>'id',
    'search'=>'search',
    'custom'=>'custom',
    'fields'=>'and',
    'fields_or'=>'or',
    'order'=>'order',
    'page'=>'page',
    'limit'=>'limit',
    'sing'=>'sign',
    'cbc'=>false,
    'status'=>[
        'deletetime'=>'null'
    ],
    'del'=>[
        'deletetime'=>time()
    ],
    'msg'=>'请输入{$remark}！',
    'select_msg'=>'请选择{$remark}！',
    'unique_msg'=>'{$remark}已被使用！',
    'create_time'=>'createtime',
    'update_time'=>'updatetime',
    'test_api_url'=>'https://pan.smartroom.project.rongwell.com/'
];